package com.ruoyi.swla2.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 大用户配置对象 dw_basic_dyh
 *
 * @author gdqt
 * @date 2023-06-16
 */
public class BasicDyh extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 平台表单自增主键
     */
    private Long ID;

    /**
     * 用户归属水司
     */
    @Excel(name = "用户归属水司")
    private String tenantId;

    /**
     * 大分区的ID
     */
    @Excel(name = "大分区的ID")
    private String AreaID;

    /**
     * 父分区的ID
     */
    @Excel(name = "父分区的ID")
    private String PID;

    /**
     * 客户地址
     */
    @Excel(name = "客户地址")
    private String UserAddress;

    /**
     * 所属行业
     */
    @Excel(name = "所属行业")
    private String UserTrade;

    /**
     * 口径
     */
    @Excel(name = "口径")
    private Long Caliber;

    /**
     * 负责人
     */
    @Excel(name = "负责人")
    private String Director;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ChangeTime;

    public void setID(Long ID) {
        this.ID = ID;
    }

    public Long getID() {
        return ID;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setAreaID(String AreaID) {
        this.AreaID = AreaID;
    }

    public String getAreaID() {
        return AreaID;
    }

    public void setPID(String PID) {
        this.PID = PID;
    }

    public String getPID() {
        return PID;
    }

    public void setUserAddress(String UserAddress) {
        this.UserAddress = UserAddress;
    }

    public String getUserAddress() {
        return UserAddress;
    }

    public void setUserTrade(String UserTrade) {
        this.UserTrade = UserTrade;
    }

    public String getUserTrade() {
        return UserTrade;
    }

    public void setCaliber(Long Caliber) {
        this.Caliber = Caliber;
    }

    public Long getCaliber() {
        return Caliber;
    }

    public void setDirector(String Director) {
        this.Director = Director;
    }

    public String getDirector() {
        return Director;
    }

    public void setChangeTime(Date ChangeTime) {
        this.ChangeTime = ChangeTime;
    }

    public Date getChangeTime() {
        return ChangeTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("ID", getID())
                .append("tenantId", getTenantId())
                .append("AreaID", getAreaID())
                .append("PID", getPID())
                .append("UserAddress", getUserAddress())
                .append("UserTrade", getUserTrade())
                .append("Caliber", getCaliber())
                .append("Director", getDirector())
                .append("ChangeTime", getChangeTime())
                .toString();
    }
}
